package model

import "gorm.io/gorm"

type School struct {
	gorm.Model
	Name    string `gorm:"type:varchar(30);comment:学校名称"`
	Code    string `gorm:"type:varchar(10);comment:学校编码"`
	Address string `gorm:"type:varchar(100);comment:学校地址"`
	Phone   string `gorm:"type:varchar(11);comment:手机号"`
	Email   string `gorm:"type:varchar(18);comment:邮箱"`
	Logo    string `gorm:"type:varchar(300);comment:学校logo"`
}
